﻿using Client.Constant;
using Client.Framework.Message;
using Client.Model;
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;

namespace Client.Message.Response
{
    [MessageAttr(MessageId.RESPONSE_LOGIN_LOG)]
    class LoginLogResp : ResponseBaseMessage
    {

        public List<LoginLog> Logs { get; private set; }

        public override void Deserialize(byte[] buffer)
        {
            ResponseLoginLog msg = ResponseLoginLog.Parser.ParseFrom(buffer);
            Logs = msg.Logs.ToList();
        }

        

    }
}
